[//

    async function( kuo,Context,context){
        let LANG = this.LANG();
        let $DATA = Object.assign({},this.$DATA);
        let $hash = 'safetoken/'+kuo.adminid;
        var $THIS = this;
        $DATA.token = Mode("Tools").Uuid();
        await  Mem.Set($hash,$DATA.token);
        let  $kongzhi = kuo.Path.length > 0?kuo.Path[kuo.Path.length-1]:"get";
        let  $db = await db('payment_code');
        let  $_GET = kuo.get;
        let  $_POST = kuo.post;
        let  $chushi = true; 
        let  $features = await Kuoplus(kuo.class);
        $DATA.code =1;
        if($kongzhi == 'get'){
    
            let $MCHID = $features['configure']['APP通知']['0']?$features['configure']['APP通知']['0']:"";
            let $MCKEY = $features['configure']['APP通知']['1']?$features['configure']['APP通知']['1']:"";
            
            let $_TONGXIN = "个人免签:通信密码复制到APP中PAYMENT"+WZHOST+(Defaultplus==''?'':Defaultplus+'/')+"PAYMENT"+$MCHID+"PAYMENT"+$MCKEY+"PAYMENT"+Mode("Tools").Time();
    
            $DATA.msg  = $_TONGXIN;
            $DATA.data = $features['configure']['支付方式']?$features['configure']['支付方式']:[];
    
    
        }else if($kongzhi == 'put'){
            
            let $id = Mode("Tools").Int($_POST['id']?$_POST['id']:0);
            let $fan= await $THIS.Notice_Post($id,$features);
            $DATA.msg  = $fan;
   
            
        }else if($kongzhi == 'add'){
    
            let $DATA_ = {
                'orderid':orderid(),
                'type':$_POST['type']?$_POST['type']:0,
                'uid': ($_POST['uid']?$_POST['uid']:0),
                'subject':'pay',
                'notify':$_POST['notify']?$_POST['notify']:"",
                'return':$_POST['return']?$_POST['return']:"",
                'productid':$_POST['productid']?$_POST['productid']:0,
                'moeny': Mode("Tools").Jine($_POST['moeny']),
                'time':Mode("Tools").Time(),
                'remarks':'',
                'back':'html',
                'mchid': $features['configure']['订单录入']['0']
            };
        
            $DATA_['sign'] = Md5( $DATA_['uid']+$DATA_['mchid']+$DATA_['type']+$DATA_['orderid']+$DATA_['moeny'] +$DATA_['time'] +$DATA_['remarks']+$DATA_['subject']+$DATA_['productid']+$features['configure']['订单录入']['1'] );
            
            $DATA.msg  = 'ok';
            $DATA.data = $DATA_;
           
    
        }else if($kongzhi == 'del'){
    
            
        }
        
        Context.body = JSON.stringify($DATA);
    }
    
]